package string;

import org.testng.Assert;
import org.testng.annotations.Test;

/**
 * @author topjoy
 */
public class StringBuffer1 {


    @Test
    private void t1() {
        StringBuffer buffer = new StringBuffer("a");
        buffer.append("b");
        System.out.println(buffer);
        Assert.assertEquals(buffer.toString(), "ab");
    }

}
